package com.car.model.evaluate.pojos;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
@TableName("tb_component_appraisal")
public class Appraisal implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("order_id")
    private Integer orderId;  //订单id

    @TableField("store_id")
    private Integer storeId;  //门店id

    @TableField("store_type")
    private String storetype;//类别 1汽车厂 2配件商

    @TableField("store_simple_name")
    private String storeSimpleName;//门店名称

    @TableField("service_class_id")
    private Integer serviceClassId;//服务分类id

    @TableField("service_class_name")
    private String serviceClassName;//服务分类名称

    @TableField("order_create_time")
    private Date orderCreateTime;//订单时间

    @TableField("customer_id")
    private Integer customerId;//客户id

    @TableField("customer_name")
    private String customerName;//客户名称

    @TableField("quality_score")
    private BigDecimal qualityScore;//质量评分

    @TableField("logistics_score")
    private BigDecimal logisticsScore;//物流评分

    @TableField("store_score")
    private BigDecimal storeScore;//商家态度评分

    @TableField("service_items")
    private String serviceItems;//服务项目

    @TableField("service_cost")
    private BigDecimal serviceCost;//服务费用

    @TableField("create_time")
    private Date createTime;//创建时间

    @TableField("is_delete")
    private short isDelete;//是否删除,0为否,1为是
}
